package edu.java.lectures.lec08.patterns;

public class GameTest {

    public static void main(String[] args) {
	playMonopoly();
    }

    private static void playChess() {
	Chess chessGame = new Chess(2);
	chessGame.play();
    }

    private static void playMonopoly() {
	Monopoly monopolyGame = new Monopoly(5);

	monopolyGame.initializeGame();
	for (int i = 0; i < 4; i++) {
	    int playerNumber = i % 2;
	    monopolyGame.makePlay(playerNumber);
	}
	monopolyGame.terminateGame();
	monopolyGame.printWinner();
    }
}
